package com.by.common.bean;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("统一结果")
public class ResultBean<T> {
    @ApiModelProperty("接口请求状态 0失败 200成功")
    int code;
    @ApiModelProperty("接口返回信息")
    String msg;
    @ApiModelProperty("接口返回数据")
    T data;
}
